package com.oa.modules.approvalsec1.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: Hankaicheng
 * @Date: 2022/3/25 10:32
 */
@Data
@TableName(value="archives")
@AllArgsConstructor
@NoArgsConstructor
public class ArchivesEntity implements Serializable {

    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "档案号")
    @Excel(name = "档案盒号",width = 20)
    private String fileNumber;

    @ApiModelProperty(value="橱窗号码")
    @Excel(needMerge = true,name = "橱柜号码",mergeVertical=true,width = 20)
    private String windowNumber;

    @ApiModelProperty(value="档案名称")
    @Excel(name = "档案名称",width =35)
    private String archivesName;

    @ApiModelProperty(value="档案编号")
    @Excel(name = "档案编号",width = 30)
    private String storeNumber;

    @ApiModelProperty(value="公司名称")
    @Excel(name = "公司名称",width = 30,height = 20)
    private String companyName;


    @ApiModelProperty(value="业务种类")
    @Excel(name = "业务种类")
    private String businessType;


    @ApiModelProperty(value="备注" )
    @Excel(name = "备注",width=50)
    private String note;

    @ApiModelProperty(value="创建时间")
    private Date createDate;

    @ApiModelProperty(value="修改时间")
    private Date updateDate;
}
